<?php

require_once( 'Classes/ErrorHandledClass.php' );

class AbstractDatasource extends ErrorHandledClass {

	var $iLastDdl;
	
	function AbstractDatasource() {

		$this->iLastDdl     = 0;
		$this->bConnected   = true;
		$this->ErrorHandledClass();
	}
	
	function GetDatasourceId() {
		return 'AbstractDatasource';	
	}

	function GetLastDdl() {
		return $this->iLastDdl;
	}	

	function IsConnected() {
		return $this->bConnected;	
	}
	
	function Disconnect() {
		$this->bConnected = false;
	}
}

?>
